package com.ruoyi.piaopiao.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Record extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String id;
    @Excel(name = "记录名称")
    private String name;
    private String billId;
    @Excel(name = "还款金额")
    private BigDecimal amount;
    private Integer month;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date payDate;
}
